package com.studio49.exmple.entity.appInterface.appUser;

import com.studio49.exmple.core.annotation.Validate;

public class UuidLoginReqEntity {

	/**
	 * uuid
	 */
	@Validate(notBlank = true)
	private String uuid;
	
	/**
	 * 登录角色,1:教师;2:家长
	 */
	@Validate(notBlank = true, paramsRange = {"1", "2"})
	private Integer role;

	/**
	 * 用户昵称
	 */
	private String userName;
	

	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}
